body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    background-color: #f4f4f4;
    height: 100vh; /* 使用100vh确保占满视口高度 */
    overflow-x: hidden;
}

.container {
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.ads-left, .ads-right {
    width: 300px; /* 广告位宽度 */
    height: 100%; /* 高度占满整个页面 */
    margin: 0 10px;
}

.ads-left iframe, .ads-right iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.news-section {
    flex-grow: 1;
    padding: 20px;
    background-color: white;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    height: 100%;
}

.news-header {
    text-align: center;
    margin-top: 20px;
}

.news-item {
    margin: 20px 0;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.news-title {
    font-size: 24px;
    font-weight: bold;
}

.news-content {
    font-size: 16px;
    margin-top: 10px;
}

.news-footer {
    text-align: right;
    font-size: 14px;
    color: #777;
}
